package com.guoguo.mapper;

import java.util.List;
import java.util.Map;

import com.guoguo.entity.Images;
import com.guoguo.entity.vo.AcAlbumImagesVO;
import com.guoguo.entity.vo.AlbumImagesVO;
import com.guoguo.entity.vo.ImagesVO;

/**
 * Created by Administrator on 2017/8/10 0010.
 */
public interface ImagesMapper {

    List<AlbumImagesVO> getAlbumImageList(String albId);

    List<AcAlbumImagesVO> getImagesById(String albId);

    List<Images> selectBy(Images images);

    List<Map<String, String>> getFavoriteAlbumImgList(String albId);

    //    根据albid查询ImagesVO结果集
    List<ImagesVO> getAlbumImageVOList(String albId);

    int deleteImages(List<String> imageIds);

    int insert(Images images);

    int insertSelective(Images images);

    int countBy(Images images);

    Images selectByPrimaryKey(String imgId);

    int deleteByPrimaryKey(String imgId);

    int deleteBy(Images images);

    int updateBySelective(Images images);

    int updateBy(Images images);

    int updateByPrimaryKeySelective(Images images);

    int updateByPrimaryKey(String imgId);

	/**
	 * 查询图片表里面的一张表
	 */
	Images selectByPrimaryKeyOne();

}
